package main

import "gitee.com/dark.H/gs"

func main() {
	nreq := gs.Str("https://localhost:8443/session").AsRequest()
	nreq = nreq.SetHead("Content-type", "application/json")
	nreq = nreq.SetHead("Content-type", "application/jsonasfsafsaf")
	nreq = nreq.SetBody(gs.Dict[string]{
		"Oper": "update",
		"Name": "test",
	}.Json()).SetMethod("post")

	nreq = nreq.SetForm("ttt", "sdddd")
	nreq.Println(nreq.HTTPS)

}
